package com.tzbank.wisdom.dao;

import com.tzbank.entity.Sequence;

/**
 * <p>Title: SequenceDao</p>
 * <p>Description: 序列Dao</p>
 * @author xuzongtian
 * @date 2018年4月22日
 */
public interface SequenceMapper {

	/**
	 * <p>Title: select</p>
	 * <p>Description: 根据序列名查询</p>
	 * @param sequenceName 序列名
	 * @return
	 */
	Sequence select(String sequenceName);
	
	/**
	 * <p>Title: update</p>
	 * <p>Description: 修改</p>
	 * @param sequence
	 */
	void update(Sequence sequence);
	
	
	/**
	 * <p>Title: insert</p>
	 * <p>Description: 新增</p>
	 * @param sequence
	 */
	void insert(Sequence sequence);
	
	/**
	 * <p>Title: delete</p>
	 * <p>Description: 删除</p>
	 * @param id
	 */
	void delete(int id);
	
}
